#!/usr/bin/env python
#coding=UTF-8
    ##########################################################################
    ##(c) 2008 Bastian Damman                                               ##
    ##                                                                      ##
    ##This file is part of Kaboom-O-rama.                                   ##
    ##                                                                      ##
    ##Kaboom-O-rama is free software: you can redistribute it and/or modify ##
    ##it under the terms of the GNU General Public License as published by  ##
    ##the Free Software Foundation, either version 3 of the License, or     ##
    ##(at your option) any later version.                                   ##
    ##                                                                      ##
    ##Kaboom-O-rama is distributed in the hope that it will be useful,      ##
    ##but WITHOUT ANY WARRANTY; without even the implied warranty of        ##
    ##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         ##
    ##GNU General Public License for more details.                          ##
    ##                                                                      ##
    ##You should have received a copy of the GNU General Public License     ##
    ##along with Kaboom-O-rama.  If not, see <http://www.gnu.org/licenses/>.##
    ##########################################################################


key = [[["" for z in range(3)] for y in range(2)]for x in range(310)]

###--------LETTERS-------###
##------
#------KEY a/q------#
key[113][0][0] = 'q'
key[113][0][1] = 'Q'
key[113][0][2] = ''
key[113][1][0] = 'a'
key[113][1][1] = 'A'
key[113][1][2] = ''
#------KEY z/w------#
key[119][0][0] = 'w'
key[119][0][1] = 'W'
key[119][0][2] = ''
key[119][1][0] = 'z'
key[119][1][1] = 'Z'
key[119][1][2] = ''
#------KEY e/e------#
key[101][0][0] = 'e'
key[101][0][1] = 'E'
key[101][0][2] = ''
key[101][1][0] = 'e'
key[101][1][1] = 'E'
key[101][1][2] = '€'
#------KEY r/r------#
key[114][0][0] = 'r'
key[114][0][1] = 'R'
key[114][0][2] = ''
key[114][1][0] = 'r'
key[114][1][1] = 'R'
key[114][1][2] = ''
#------KEY t/t------#
key[116][0][0] = 't'
key[116][0][1] = 'T'
key[116][0][2] = ''
key[116][1][0] = 't'
key[116][1][1] = 'T'
key[116][1][2] = ''
#------KEY y/y------#
key[121][0][0] = 'y'
key[121][0][1] = 'Y'
key[121][0][2] = ''
key[121][1][0] = 'y'
key[121][1][1] = 'Y'
key[121][1][2] = ''
#------KEY u/u------#
key[117][0][0] = 'u'
key[117][0][1] = 'U'
key[117][0][2] = ''
key[117][1][0] = 'u'
key[117][1][1] = 'U'
key[117][1][2] = ''
#------KEY i/i------#
key[105][0][0] = 'i'
key[105][0][1] = 'I'
key[105][0][2] = ''
key[105][1][0] = 'i'
key[105][1][1] = 'I'
key[105][1][2] = ''
#------KEY o/o------#
key[111][0][0] = 'o'
key[111][0][1] = 'O'
key[111][0][2] = ''
key[111][1][0] = 'o'
key[111][1][1] = 'O'
key[111][1][2] = ''
#------KEY p/p------#
key[112][0][0] = 'p'
key[112][0][1] = 'P'
key[112][0][2] = ''
key[112][1][0] = 'p'
key[112][1][1] = 'P'
key[112][1][2] = ''
#------KEY q/a------#
key[97][0][0] = 'a'
key[97][0][1] = 'A'
key[97][0][2] = ''
key[97][1][0] = 'q'
key[97][1][1] = 'Q'
key[97][1][2] = ''
#------KEY s/s------#
key[115][0][0] = 's'
key[115][0][1] = 'S'
key[115][0][2] = ''
key[115][1][0] = 's'
key[115][1][1] = 'S'
key[115][1][2] = ''
#------KEY d/d------#
key[100][0][0] = 'd'
key[100][0][1] = 'D'
key[100][0][2] = ''
key[100][1][0] = 'd'
key[100][1][1] = 'D'
key[100][1][2] = ''
#------KEY f/f------#
key[102][0][0] = 'f'
key[102][0][1] = 'F'
key[102][0][2] = ''
key[102][1][0] = 'f'
key[102][1][1] = 'F'
key[102][1][2] = ''
#------KEY g/g------#
key[103][0][0] = 'g'
key[103][0][1] = 'G'
key[103][0][2] = ''
key[103][1][0] = 'g'
key[103][1][1] = 'G'
key[103][1][2] = ''
#------KEY h/h------#
key[104][0][0] = 'h'
key[104][0][1] = 'H'
key[104][0][2] = ''
key[104][1][0] = 'h'
key[104][1][1] = 'H'
key[104][1][2] = ''
#------KEY j/j------#
key[106][0][0] = 'j'
key[106][0][1] = 'J'
key[106][0][2] = ''
key[106][1][0] = 'j'
key[106][1][1] = 'J'
key[106][1][2] = ''
#------KEY k/k------#
key[107][0][0] = 'k'
key[107][0][1] = 'K'
key[107][0][2] = ''
key[107][1][0] = 'k'
key[107][1][1] = 'K'
key[107][1][2] = ''
#------KEY l/l------#
key[108][0][0] = 'l'
key[108][0][1] = 'L'
key[108][0][2] = ''
key[108][1][0] = 'l'
key[108][1][1] = 'L'
key[108][1][2] = ''
#------KEY m/;------#
key[59][0][0] = ';'
key[59][0][1] = ':'
key[59][0][2] = ''
key[59][1][0] = 'm'
key[59][1][1] = 'M'
key[59][1][2] = ''
#------KEY w/z------#
key[122][0][0] = 'z'
key[122][0][1] = 'Z'
key[122][0][2] = ''
key[122][1][0] = 'w'
key[122][1][1] = 'W'
key[122][1][2] = ''
#------KEY x/x------#
key[120][0][0] = 'x'
key[120][0][1] = 'X'
key[120][0][2] = ''
key[120][1][0] = 'x'
key[120][1][1] = 'X'
key[120][1][2] = ''
#------KEY c/c------#
key[99][0][0] = 'c'
key[99][0][1] = 'C'
key[99][0][2] = ''
key[99][1][0] = 'c'
key[99][1][1] = 'C'
key[99][1][2] = ''
#------KEY v/v------#
key[118][0][0] = 'v'
key[118][0][1] = 'V'
key[118][0][2] = ''
key[118][1][0] = 'v'
key[118][1][1] = 'V'
key[118][1][2] = ''
#------KEY b/b------#
key[98][0][0] =  'b'
key[98][0][1] =  'B'
key[98][0][2] =  ''
key[98][1][0] =  'b'
key[98][1][1] =  'B'
key[98][1][2] =  ''
#------KEY n/n------#
key[110][0][0] =  'n'
key[110][0][1] =  'N'
key[110][0][2] =  ''
key[110][1][0] =  'n'
key[110][1][1] =  'N'
key[110][1][2] =  ''
#------KEY ,/m------#
key[109][0][0] =  'm'
key[109][0][1] =  'M'
key[109][0][2] =  ''
key[109][1][0] =  ','
key[109][1][1] =  '?'
key[109][1][2] =  ''


###--------NUMPAD--------###
##------
#------KEY //[/]------#
key[267][0][0] = '/'
key[267][0][1] = ''
key[267][0][2] = ''
key[267][1][0] = '/'
key[267][1][1] = ''
key[267][1][2] = ''
#------KEY */[*]------#
key[268][0][0] = '*'
key[268][0][1] = ''
key[268][0][2] = ''
key[268][1][0] = '*'
key[268][1][1] = ''
key[268][1][2] = ''
#------KEY -/[-]------#
key[269][0][0] = '-'
key[269][0][1] = ''
key[269][0][2] = ''
key[269][1][0] = '-'
key[269][1][1] = ''
key[269][1][2] = ''
#------KEY +/[+]------#
key[270][0][0] = '+'
key[270][0][1] = ''
key[270][0][2] = ''
key[270][1][0] = '+'
key[270][1][1] = ''
key[270][1][2] = ''
#------KEY 0/[0]------#
key[256][0][0] = '0'
key[256][0][1] = ''
key[256][0][2] = ''
key[256][1][0] = '0'
key[256][1][1] = ''
key[256][1][2] = ''
#------KEY 1/[1]------#
key[257][0][0] = '1'
key[257][0][1] = ''
key[257][0][2] = ''
key[257][1][0] = '1'
key[257][1][1] = ''
key[257][1][2] = ''
#------KEY 2/[2]------#
key[258][0][0] = '2'
key[258][0][1] = ''
key[258][0][2] = ''
key[258][1][0] = '2'
key[258][1][1] = ''
key[258][1][2] = ''
#------KEY 3/[3]------#
key[259][0][0] = '3'
key[259][0][1] = ''
key[259][0][2] = ''
key[259][1][0] = '3'
key[259][1][1] = ''
key[259][1][2] = ''
#------KEY 4/[4]------#
key[260][0][0] = '4'
key[260][0][1] = ''
key[260][0][2] = ''
key[260][1][0] = '4'
key[260][1][1] = ''
key[260][1][2] = ''
#------KEY 5/[5]------#
key[261][0][0] = '5'
key[261][0][1] = ''
key[261][0][2] = ''
key[261][1][0] = '5'
key[261][1][1] = ''
key[261][1][2] = ''
#------KEY 6/[6]------#
key[262][0][0] = '6'
key[262][0][1] = ''
key[262][0][2] = ''
key[262][1][0] = '6'
key[262][1][1] = ''
key[262][1][2] = ''
#------KEY 7/[7]------#
key[263][0][0] = '7'
key[263][0][1] = ''
key[263][0][2] = ''
key[263][1][0] = '7'
key[263][1][1] = ''
key[263][1][2] = ''
#------KEY 8/[8]------#
key[264][0][0] = '8'
key[264][0][1] = ''
key[264][0][2] = ''
key[264][1][0] = '8'
key[264][1][1] = ''
key[264][1][2] = ''
#------KEY 9/[9]------#
key[265][0][0] = '9'
key[265][0][1] = ''
key[265][0][2] = ''
key[265][1][0] = '9'
key[265][1][1] = ''
key[265][1][2] = ''
#------KEY ./[.]------#
key[266][0][0] = '.'
key[266][0][1] = ''
key[266][0][2] = ''
key[266][1][0] = '.'
key[266][1][1] = ''
key[266][1][2] = ''


###--------Others--------###
##------
#------KEY ²/`------#
key[96][0][0] = '`'
key[96][0][1] = '~'
key[96][0][2] = ''
key[96][1][0] = '²'
key[96][1][1] = '³'
key[96][1][2] = ''
#------KEY &/1------#
key[49][0][0] = '1'
key[49][0][1] = '!'
key[49][0][2] = ''
key[49][1][0] = '&'
key[49][1][1] = '1'
key[49][1][2] = '|'
#------KEY é/2------#
key[50][0][0] = '2'
key[50][0][1] = '@'
key[50][0][2] = ''
key[50][1][0] = 'é'
key[50][1][1] = '2'
key[50][1][2] = '@'
#------KEY "/3------#
key[51][0][0] = '3'
key[51][0][1] = '#'
key[51][0][2] = ''
key[51][1][0] = '"'
key[51][1][1] = '3'
key[51][1][2] = '#'
#------KEY '/4------#
key[52][0][0] = '4'
key[52][0][1] = '$'
key[52][0][2] = ''
key[52][1][0] = "'"
key[52][1][1] = '4'
key[52][1][2] = ''
#------KEY (/5------#
key[53][0][0] = '5'
key[53][0][1] = '%'
key[53][0][2] = ''
key[53][1][0] = '('
key[53][1][1] = '5'
key[53][1][2] = ''
#------KEY §/6------#
key[54][0][0] = '6'
key[54][0][1] = '^'
key[54][0][2] = ''
key[54][1][0] = '§'
key[54][1][1] = '6'
key[54][1][2] = '^'
#------KEY è/7------#
key[55][0][0] = '7'
key[55][0][1] = '&'
key[55][0][2] = ''
key[55][1][0] = 'è'
key[55][1][1] = '7'
key[55][1][2] = ''
#------KEY !/8------#
key[56][0][0] = '8'
key[56][0][1] = '*'
key[56][0][2] = ''
key[56][1][0] = '!'
key[56][1][1] = '8'
key[56][1][2] = ''
#------KEY ç/9------#
key[57][0][0] = '9'
key[57][0][1] = '('
key[57][0][2] = ''
key[57][1][0] = 'ç'
key[57][1][1] = '9'
key[57][1][2] = '{'
#------KEY à/0------#
key[48][0][0] = '0'
key[48][0][1] = ')'
key[48][0][2] = ''
key[48][1][0] = 'à'
key[48][1][1] = '0'
key[48][1][2] = '}'
#------KEY )/-------#
key[45][0][0] = '-'
key[45][0][1] = '_'
key[45][0][2] = ''
key[45][1][0] = ')'
key[45][1][1] = '°'
key[45][1][2] = ''
#------KEY -/=------#
key[61][0][0] = '='
key[61][0][1] = '+'
key[61][0][2] = ''
key[61][1][0] = '-'
key[61][1][1] = '_'
key[61][1][2] = ''
#------KEY ^/[------#
key[91][0][0] = '['
key[91][0][1] = '{'
key[91][0][2] = ''
key[91][1][0] = '^'
key[91][1][1] = '¨'
key[91][1][2] = '['
#------KEY $/]------#
key[93][0][0] = ']'
key[93][0][1] = '}'
key[93][0][2] = ''
key[93][1][0] = '$'
key[93][1][1] = '*'
key[93][1][2] = ']'
#------KEY ù/'------#
key[39][0][0] = "'"
key[39][0][1] = '"'
key[39][0][2] = ''
key[39][1][0] = 'ù'
key[39][1][1] = '%'
key[39][1][2] = '´'
#------KEY µ/\------#
key[92][0][0] = '\\'
key[92][0][1] = '|'
key[92][0][2] = ''
key[92][1][0] = 'µ'
key[92][1][1] = '£'
key[92][1][2] = '`'
#------KEY </<------#
key[60][0][0] = '<'
key[60][0][1] = '>'
key[60][0][2] = ''
key[60][1][0] = '<'
key[60][1][1] = '>'
key[60][1][2] = '\\'
#------KEY ;/,------#
key[44][0][0] = ','
key[44][0][1] = '<'
key[44][0][2] = ''
key[44][1][0] = ';'
key[44][1][1] = '.'
key[44][1][2] = ''
#------KEY :/.------#
key[46][0][0] = '.'
key[46][0][1] = '>'
key[46][0][2] = ''
key[46][1][0] = ':'
key[46][1][1] = '/'
key[46][1][2] = ''
#------KEY =//------#
key[47][0][0] = '/'
key[47][0][1] = '?'
key[47][0][2] = ''
key[47][1][0] = '='
key[47][1][1] = '+'
key[47][1][2] = '~'

